//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01A
TN_Widget.CreateTable([['War - Band','Vina Robles Amphitheater','Paso Robles, CA','Saturday','5/4/2024','8:00 PM','6304317','War---Band-5-4-2024'],['Anthony Jeselnik','Vina Robles Amphitheater','Paso Robles, CA','Saturday','5/18/2024','8:00 PM','6345772','Anthony-Jeselnik-5-18-2024'],['Lord Huron','Vina Robles Amphitheater','Paso Robles, CA','Thursday','5/23/2024','7:30 PM','6118952','Lord-Huron-5-23-2024'],['George Lopez','Vina Robles Amphitheater','Paso Robles, CA','Saturday','5/25/2024','8:00 PM','6277118','George-Lopez-5-25-2024'],['The Avett Brothers','Vina Robles Amphitheater','Paso Robles, CA','Saturday','6/15/2024','8:00 PM','6211903','The-Avett-Brothers-6-15-2024'],['Gabriel Iglesias','Vina Robles Amphitheater','Paso Robles, CA','Friday','6/21/2024','8:00 PM','6398815','Gabriel-Iglesias-6-21-2024'],['Primus','Vina Robles Amphitheater','Paso Robles, CA','Sunday','7/7/2024','8:00 PM','6277340','Primus-7-7-2024'],['Cake - Band','Vina Robles Amphitheater','Paso Robles, CA','Thursday','7/11/2024','8:00 PM','6307555','Cake---Band-7-11-2024'],['Happy Together Tour','Vina Robles Amphitheater','Paso Robles, CA','Friday','7/12/2024','8:00 PM','6217685','Happy-Together-Tour-7-12-2024'],['Lindsey Stirling','Vina Robles Amphitheater','Paso Robles, CA','Saturday','7/13/2024','8:00 PM','6327889','Lindsey-Stirling-7-13-2024'],['The Revivalists','Vina Robles Amphitheater','Paso Robles, CA','Wednesday','7/17/2024','8:00 PM','6307595','The-Revivalists-7-17-2024'],['Los Lobos & Los Lonely Boys','Vina Robles Amphitheater','Paso Robles, CA','Friday','8/2/2024','8:00 PM','6306747','Los-Lobos---Los-Lonely-Boys-8-2-2024'],['Pat Benatar & Neil Giraldo','Vina Robles Amphitheater','Paso Robles, CA','Thursday','8/8/2024','8:00 PM','6343041','Pat-Benatar---Neil-Giraldo-8-8-2024'],['Rick Springfield & Richard Marx','Vina Robles Amphitheater','Paso Robles, CA','Sunday','8/11/2024','8:00 PM','6345819','Rick-Springfield---Richard-Marx-8-11-2024'],['Gipsy Kings ft. Nicolas Reyes','Vina Robles Amphitheater','Paso Robles, CA','Thursday','8/15/2024','8:00 PM','6252861','Gipsy-Kings-ft--Nicolas-Reyes-8-15-2024'],['Robert Plant & Alison Krauss','Vina Robles Amphitheater','Paso Robles, CA','Saturday','8/24/2024','7:30 PM','6264847','Robert-Plant---Alison-Krauss-8-24-2024'],['The Beach Boys','Vina Robles Amphitheater','Paso Robles, CA','Thursday','8/29/2024','7:30 PM','6251883','The-Beach-Boys-8-29-2024'],['Lost 80's Live: A Flock of Seagulls, Wang Chung & The English Beat','Vina Robles Amphitheater','Paso Robles, CA','Friday','8/30/2024','6:00 PM','6217686','Lost-80-s-Live--A-Flock-of-Seagulls--Wang-Chung---The-English-Beat-8-30-2024'],['Yachtley Crew','Vina Robles Amphitheater','Paso Robles, CA','Saturday','8/31/2024','8:00 PM','6416898','Yachtley-Crew-8-31-2024'],['Bonnie Raitt','Vina Robles Amphitheater','Paso Robles, CA','Wednesday','9/18/2024','8:00 PM','6252578','Bonnie-Raitt-9-18-2024'],['Crowded House','Vina Robles Amphitheater','Paso Robles, CA','Saturday','9/28/2024','8:00 PM','6377061','Crowded-House-9-28-2024'],['Brittany Howard & Michael Kiwanuka','Vina Robles Amphitheater','Paso Robles, CA','Saturday','10/19/2024','8:00 PM','6400751','Brittany-Howard---Michael-Kiwanuka-10-19-2024'],['King Gizzard and The Lizard Wizard','Vina Robles Amphitheater','Paso Robles, CA','Sunday','11/3/2024','7:30 PM','6066174','King-Gizzard-and-The-Lizard-Wizard-11-3-2024']],'Vina Robles Amphitheatre','http://www.ticketnetwork.com/ticket/Vina-Robles-Amphitheatre-events.aspx');